<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />

<title>添加/修改app版本信息 </title>
<meta name="keywords" content="添加/修改app版本信息">
<meta name="description" content="添加/修改app版本信息">

<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/lib/webuploader/0.1.5/webuploader.css" />

</head>
<body>


<article class="page-container">
	<form class="form form-horizontal" id="fr_appversion">
	<input type="hidden" id="id" name="id" value="${bean.id}" />

	<div class="row cl">
		<label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>版本号:</label>
		<div class="formControls col-xs-6 col-sm-7">
			<input type="text" class="input-text" value="" placeholder="" id="versionNo" name="versionNo" />
		</div>
	</div>
	<div class="row cl">
		<label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>版本编码:</label>
		<div class="formControls col-xs-6 col-sm-7">
			<input type="text" class="input-text" value="" placeholder="" id="versionCode" name="versionCode" />
		</div>
	</div>
	<div class="row cl">
		<label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>版本描述:</label>
		<div class="formControls col-xs-6 col-sm-7">
			<input type="text" class="input-text" value="" placeholder="" id="versionContent" name="versionContent" />
		</div>
	</div>
						
	<div class="row cl">
		<label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>下载链接:</label>
		<div class="formControls col-xs-6 col-sm-7">
			<input type="text" class="input-text" style="width: 80%" value="" placeholder="" id="versionUrl" name="versionUrl" /> 
			<label for="imageSum" class="webuploader-pick">上传</label>
		</div>
	</div>
	
	<div class="row cl">
		<label class="form-label col-xs-4 col-sm-3"><span class="c-red"></span>版本类型:</label>
		<div class="formControls col-xs-6 col-sm-7">
			<select id="versionType" name="versionType" class="input-text">
				<option value="401">ios</option>
				<option value="402">android</option>
			</select>
		</div>
	</div>
	
						
	<div class="row cl">
		<label class="form-label col-xs-4 col-sm-3"><span class="c-red"></span>是否强制更新:</label>
		<div class="formControls col-xs-6 col-sm-7">
			<select id="coercionIs" name="coercionIs" class="input-text">
				<option value="1">是</option>
				<option value="1">否</option>
			</select>
		</div>
	</div>
						
	<div class="row cl">
		<label class="form-label col-xs-4 col-sm-3"><span class="c-red"></span>版本状态:</label>
		<div class="formControls col-xs-6 col-sm-7">
			<select id="versionStatus" name="versionStatus" class="input-text">
			<c:forEach var="beanDetail" items="${detailBean}">
				<option value="${beanDetail.dictNo}">${beanDetail.dictName}</option>
			</c:forEach>
			</select>
		</div>
	</div>
					
	<div class="row cl">
		<div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-3">
			<input class="btn btn-primary radius" type="button" id="sub_mitbtn" value="&nbsp;&nbsp;提交&nbsp;&nbsp;">
		</div>
	</div>
	</form>
</article>

 <form  id="fr_ajaxFileUpload" enctype="multipart/form-data" method="POST">
	<input style="position: absolute;left:-9999px;" type="file" name="natrualImgFile" id="imageSum"  onchange="subMitFile(this.value)" />
</form>


<script type="text/javascript" src="${pageContext.request.contextPath}/lib/jquery/jquery.form.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/lib/jquery/ajaxfileupload.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/jscommon/jsUtils/picToUpUtil.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/page/eoas/addupdate/appVersionAddUpdateMgr.js"></script>


</body>
</html>



